<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  <title>我的订单 | 社交商城</title>
  <!-- Bootstrap 5 CSS -->
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
  <!-- Font Awesome -->
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
  
  <style>
    :root {
      --primary: #4F46E5;
      --secondary: #6B7280;
      --light: #F9FAFB;
      --dark: #1F2937;
      --white: #FFFFFF;
      --border: #E5E7EB;
      --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
      --radius: 8px;
      
      /* 不同风格主题色 */
      --style1: #3B82F6; /* 科技蓝 */
      --style2: #EC4899; /* 活力粉 */
      --style3: #10B981; /* 生态绿 */
      --style4: #F59E0B; /* 温暖橙 */
      --style5: #8B5CF6; /* 梦幻紫 */
      --style6: #111827; /* 商务黑 */
    }
    
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      background-color: #f5f5f5;
      color: var(--dark);
      min-height: 100vh;
      padding: 0;
      margin: 0;
      transition: background-color 0.3s ease;
    }
    
    .container {
      max-width: 420px;
      margin: 0 auto;
      background-color: var(--white);
      min-height: 100vh;
      box-shadow: var(--shadow);
      overflow: hidden;
      position: relative;
      transition: background-color 0.3s ease;
    }
    
    /* 订单页面容器 */
    .order-page {
      display: none;
      min-height: 100vh;
      flex-direction: column;
    }
    
    .order-page.active {
      display: flex;
      animation: fadeIn 0.3s ease forwards;
    }
    
    /* 顶部导航栏 */
    .page-header {
      padding: 18px 20px;
      position: relative;
      text-align: center;
      border-bottom: 1px solid var(--border);
      background-color: var(--white);
      transition: all 0.3s ease;
      z-index: 10;
    }
    
    .page-title {
      font-size: 18px;
      font-weight: 600;
      margin: 0;
    }
    
    .header-actions {
      position: absolute;
      right: 20px;
      top: 50%;
      transform: translateY(-50%);
      display: flex;
      gap: 15px;
    }
    
    .header-btn {
      background: none;
      border: none;
      color: var(--dark);
      font-size: 20px;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    
    .header-btn:active {
      transform: scale(0.9);
    }
    
    .back-btn {
      position: absolute;
      left: 20px;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      color: var(--dark);
      font-size: 20px;
      cursor: pointer;
    }
    
    /* 订单状态筛选 */
    .order-filter {
      display: flex;
      overflow-x: auto;
      border-bottom: 1px solid var(--border);
      background-color: var(--white);
      z-index: 5;
    }
    
    .filter-item {
      padding: 14px 20px;
      flex: 0 0 auto;
      font-size: 15px;
      color: var(--secondary);
      border-bottom: 2px solid transparent;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    
    .filter-item.active {
      color: var(--primary);
      border-bottom-color: var(--primary);
      font-weight: 500;
    }
    
    /* 订单列表 */
    .order-items {
      flex: 1;
      overflow-y: auto;
      background-color: var(--white);
      transition: all 0.3s ease;
    }
    
    .order-card {
      margin: 12px;
      border-radius: var(--radius);
      border: 1px solid var(--border);
      overflow: hidden;
      transition: all 0.2s ease;
    }
    
    .order-card:hover {
      box-shadow: var(--shadow);
    }
    
    .order-header {
      padding: 14px 16px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background-color: rgba(0,0,0,0.01);
      border-bottom: 1px solid var(--border);
    }
    
    .order-shop {
      font-weight: 500;
    }
    
    .order-status {
      font-size: 14px;
      color: var(--primary);
    }
    
    .order-status.pending { color: #F59E0B; }
    .order-status.shipping { color: #3B82F6; }
    .order-status.completed { color: #10B981; }
    .order-status.cancelled { color: #EF4444; }
    
    .order-body {
      padding: 12px 16px;
    }
    
    .order-product {
      display: flex;
      margin-bottom: 12px;
    }
    
    .product-image {
      width: 70px;
      height: 70px;
      border-radius: 6px;
      object-fit: cover;
      margin-right: 12px;
      background-color: var(--light);
    }
    
    .product-info {
      flex: 1;
      min-width: 0;
    }
    
    .product-name {
      font-size: 15px;
      margin-bottom: 4px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    
    .product-spec {
      font-size: 12px;
      color: var(--secondary);
      margin-bottom: 4px;
    }
    
    .product-quantity {
      font-size: 13px;
      color: var(--secondary);
    }
    
    .order-summary {
      padding: 12px 16px;
      background-color: rgba(0,0,0,0.01);
      border-top: 1px solid var(--border);
      text-align: right;
    }
    
    .summary-row {
      margin-bottom: 6px;
      font-size: 14px;
    }
    
    .summary-total {
      font-weight: 600;
      color: var(--primary);
      font-size: 15px;
    }
    
    .order-actions {
      padding: 12px 16px;
      display: flex;
      justify-content: flex-end;
      gap: 10px;
      border-top: 1px solid var(--border);
    }
    
    .order-btn {
      padding: 6px 16px;
      border-radius: 6px;
      font-size: 14px;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    
    .btn-secondary {
      background-color: transparent;
      border: 1px solid var(--border);
      color: var(--dark);
    }
    
    .btn-primary {
      background-color: var(--primary);
      border: 1px solid var(--primary);
      color: white;
    }
    
    /* 空状态 */
    .empty-orders {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 60px 20px;
      text-align: center;
      color: var(--secondary);
      height: 100%;
    }
    
    .empty-icon {
      font-size: 80px;
      margin-bottom: 20px;
      opacity: 0.3;
    }
    
    .empty-text {
      margin-bottom: 20px;
      font-size: 16px;
    }
    
    .empty-action {
      padding: 8px 24px;
      border-radius: 6px;
      background-color: var(--primary);
      color: white;
      border: none;
      font-size: 14px;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    
    /* 样式切换器 */
    .style-switcher {
      position: fixed;
      top: 20px;
      right: 20px;
      z-index: 1010;
      background-color: white;
      border-radius: 8px;
      box-shadow: var(--shadow);
      overflow: hidden;
      width: 180px;
      transition: all 0.3s ease;
      transform: translateX(0);
      opacity: 1;
    }
    
    .style-switcher.hidden {
      transform: translateX(200px);
      opacity: 0;
      pointer-events: none;
    }
    
    .switcher-toggle {
      position: fixed;
      top: 20px;
      right: 20px;
      z-index: 1020;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background-color: var(--primary);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: var(--shadow);
      border: none;
      font-size: 18px;
      cursor: pointer;
      transition: all 0.3s ease;
    }
    
    .switcher-header {
      padding: 10px 16px;
      font-size: 14px;
      font-weight: 600;
      border-bottom: 1px solid #eee;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    
    .switcher-close {
      background: none;
      border: none;
      color: var(--secondary);
      font-size: 16px;
      cursor: pointer;
    }
    
    .switcher-option {
      padding: 12px 16px;
      font-size: 14px;
      cursor: pointer;
      transition: background-color 0.2s;
      display: flex;
      align-items: center;
    }
    
    .switcher-color {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      margin-right: 10px;
    }
    
    .switcher-option:hover {
      background-color: #f9f9f9;
    }
    
    .switcher-option.active {
      background-color: var(--primary);
      color: white;
    }
    
    /* 风格1：科技蓝 */
    .style-1 {
      --primary: var(--style1);
    }
    
    .style-1 .order-card {
      border-left: 3px solid transparent;
    }
    
    .style-1 .order-card:hover {
      border-left-color: var(--primary);
    }
    
    /* 风格2：活力粉 */
    .style-2 {
      --primary: var(--style2);
    }
    
    .style-2 .page-header {
      background-color: var(--primary);
      color: white;
      border-color: rgba(255, 255, 255, 0.2);
    }
    
    .style-2 .header-btn,
    .style-2 .page-title,
    .style-2 .back-btn {
      color: white;
    }
    
    .style-2 .order-card {
      border-radius: 12px;
      margin: 12px;
      border: none;
      box-shadow: 0 2px 8px rgba(236, 72, 153, 0.05);
    }
    
    /* 风格3：生态绿 */
    .style-3 {
      --primary: var(--style3);
    }
    
    .style-3 .container {
      background-color: #F8FAFC;
    }
    
    .style-3 .order-card {
      background-color: white;
      margin: 12px;
      border-radius: 8px;
      border: none;
      box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    }
    
    .style-3 .btn-primary {
      background-color: rgba(16, 185, 129, 0.1);
      color: var(--primary);
      border: 1px solid var(--primary);
    }
    
    /* 风格4：温暖橙 */
    .style-4 {
      --primary: var(--style4);
    }
    
    .style-4 .order-header {
      background: linear-gradient(90deg, rgba(245, 158, 11, 0.05) 0%, rgba(245, 158, 11, 0) 100%);
    }
    
    .style-4 .product-image {
      border: 2px solid rgba(245, 158, 11, 0.2);
    }
    
    .style-4 .btn-primary {
      background: linear-gradient(90deg, var(--primary), #FBBF24);
      border: none;
    }
    
    /* 风格5：梦幻紫 */
    .style-5 {
      --primary: var(--style5);
    }
    
    .style-5 .container {
      background-color: #FCFAFF;
    }
    
    .style-5 .order-summary {
      background-color: rgba(139, 92, 246, 0.03);
    }
    
    .style-5 .order-header {
      background-color: rgba(139, 92, 246, 0.05);
    }
    
    /* 风格6：商务黑 */
    .style-6 {
      --primary: #60A5FA;
      --secondary: #9CA3AF;
      --light: #1F2937;
      --dark: #F9FAFB;
      --white: #111827;
      --border: #374151;
      --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    }
    
    .style-6 body {
      background-color: #030712;
    }
    
    .style-6 .container,
    .style-6 .page-header,
    .style-6 .order-items,
    .style-6 .order-filter,
    .style-6 .order-card,
    .style-6 .order-header,
    .style-6 .order-summary {
      background-color: var(--white);
    }
    
    .style-6 .page-header,
    .style-6 .order-filter,
    .style-6 .order-header,
    .style-6 .order-summary {
      border-color: var(--border);
    }
    
    .style-6 .header-btn,
    .style-6 .page-title,
    .style-6 .back-btn,
    .style-6 .filter-item,
    .style-6 .order-shop,
    .style-6 .product-name,
    .style-6 .summary-row {
      color: var(--dark);
    }
    
    .style-6 .btn-secondary {
      background-color: var(--light);
      border-color: var(--border);
      color: var(--dark);
    }
    
    .style-6 .style-switcher {
      background-color: var(--light);
    }
    
    .style-6 .switcher-header {
      border-bottom-color: var(--border);
      color: var(--dark);
    }
    
    .style-6 .switcher-option {
      color: var(--dark);
    }
    
    .style-6 .switcher-option:hover {
      background-color: rgba(255, 255, 255, 0.1);
    }
    
    /* 动画效果 */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    @keyframes scale {
      0% { transform: scale(1); }
      50% { transform: scale(1.05); }
      100% { transform: scale(1); }
    }
    
    .scale-animation {
      animation: scale 0.3s ease;
    }
    
    /* 响应式调整 */
    @media (max-width: 360px) {
      .product-image {
        width: 60px;
        height: 60px;
      }
      
      .order-btn {
        padding: 5px 12px;
        font-size: 13px;
      }
      
      .filter-item {
        padding: 12px 15px;
        font-size: 14px;
      }
    }
  </style>
</head>
<body class="style-1">
  <!-- 样式切换器 -->
  <button class="switcher-toggle">
    <i class="fa fa-paint-brush"></i>
  </button>
  
  <div class="style-switcher hidden">
    <div class="switcher-header">
      选择页面样式
      <button class="switcher-close"><i class="fa fa-times"></i></button>
    </div>
    <div class="switcher-option active" data-style="1">
      <span class="switcher-color" style="background-color: var(--style1);"></span>
      科技蓝
    </div>
    <div class="switcher-option" data-style="2">
      <span class="switcher-color" style="background-color: var(--style2);"></span>
      活力粉
    </div>
    <div class="switcher-option" data-style="3">
      <span class="switcher-color" style="background-color: var(--style3);"></span>
      生态绿
    </div>
    <div class="switcher-option" data-style="4">
      <span class="switcher-color" style="background-color: var(--style4);"></span>
      温暖橙
    </div>
    <div class="switcher-option" data-style="5">
      <span class="switcher-color" style="background-color: var(--style5);"></span>
      梦幻紫
    </div>
    <div class="switcher-option" data-style="6">
      <span class="switcher-color" style="background-color: var(--style6);"></span>
      商务黑
    </div>
  </div>
  
  <div class="container">
    <!-- 风格1：科技蓝订单页面 -->
    <div class="order-page active" id="order1">
      <div class="page-header">
        <button class="back-btn"><i class="fa fa-arrow-left"></i></button>
        <h1 class="page-title">我的订单</h1>
        <div class="header-actions">
          <button class="header-btn"><i class="fa fa-search"></i></button>
        </div>
      </div>
      
      <div class="order-filter">
        <div class="filter-item active" data-status="all">全部</div>
        <div class="filter-item" data-status="pending">待付款</div>
        <div class="filter-item" data-status="shipping">配送中</div>
        <div class="filter-item" data-status="completed">已完成</div>
        <div class="filter-item" data-status="cancelled">已取消</div>
      </div>
      
      <div class="order-items">
        <!-- 订单1：待付款 -->
        <div class="order-card" data-status="pending">
          <div class="order-header">
            <div class="order-shop">科技数码官方旗舰店</div>
            <div class="order-status pending">待付款</div>
          </div>
          
          <div class="order-body">
            <div class="order-product">
              <img src="https://picsum.photos/id/96/200/200" alt="智能手机" class="product-image">
              <div class="product-info">
                <div class="product-name">超薄全面屏智能手机 8GB+128GB</div>
                <div class="product-spec">颜色：星空黑 | 版本：标准版</div>
                <div class="product-quantity">x1</div>
              </div>
            </div>
            
            <div class="order-product">
              <img src="https://picsum.photos/id/20/200/200" alt="无线耳机" class="product-image">
              <div class="product-info">
                <div class="product-name">无线蓝牙耳机 主动降噪</div>
                <div class="product-spec">颜色：白色</div>
                <div class="product-quantity">x1</div>
              </div>
            </div>
          </div>
          
          <div class="order-summary">
            <div class="summary-row">共2件商品</div>
            <div class="summary-row summary-total">合计：¥4098.00</div>
          </div>
          
          <div class="order-actions">
            <button class="order-btn btn-secondary">取消订单</button>
            <button class="order-btn btn-primary">立即付款</button>
          </div>
        </div>
        
        <!-- 订单2：配送中 -->
        <div class="order-card" data-status="shipping">
          <div class="order-header">
            <div class="order-shop">生活家居专营店</div>
            <div class="order-status shipping">配送中</div>
          </div>
          
          <div class="order-body">
            <div class="order-product">
              <img src="https://picsum.photos/id/118/200/200" alt="保温杯" class="product-image">
              <div class="product-info">
                <div class="product-name">不锈钢真空保温杯 500ml</div>
                <div class="product-spec">颜色：蓝色</div>
                <div class="product-quantity">x1</div>
              </div>
            </div>
          </div>
          
          <div class="order-summary">
            <div class="summary-row">共1件商品</div>
            <div class="summary-row summary-total">合计：¥89.00</div>
          </div>
          
          <div class="order-actions">
            <button class="order-btn btn-primary">查看物流</button>
          </div>
        </div>
        
        <!-- 订单3：已完成 -->
        <div class="order-card" data-status="completed">
          <div class="order-header">
            <div class="order-shop">科技数码官方旗舰店</div>
            <div class="order-status completed">已完成</div>
          </div>
          
          <div class="order-body">
            <div class="order-product">
              <img src="https://picsum.photos/id/160/200/200" alt="笔记本电脑" class="product-image">
              <div class="product-info">
                <div class="product-name">轻薄商务笔记本电脑</div>
                <div class="product-spec">配置：i5/8GB/512GB</div>
                <div class="product-quantity">x1</div>
              </div>
            </div>
          </div>
          
          <div class="order-summary">
            <div class="summary-row">共1件商品</div>
            <div class="summary-row summary-total">合计：¥5999.00</div>
          </div>
          
          <div class="order-actions">
            <button class="order-btn btn-secondary">再次购买</button>
            <button class="order-btn btn-primary">查看详情</button>
          </div>
        </div>
      </div>
    </div>
    
    <!-- 风格2：活力粉订单页面 -->
    <div class="order-page" id="order2">
      <div class="page-header">
        <button class="back-btn"><i class="fa fa-arrow-left"></i></button>
        <h1 class="page-title">我的订单</h1>
        <div class="header-actions">
          <button class="header-btn"><i class="fa fa-search"></i></button>
        </div>
      </div>
      
      <div class="order-filter">
        <div class="filter-item active" data-status="all">全部</div>
        <div class="filter-item" data-status="pending">待付款</div>
        <div class="filter-item" data-status="shipping">配送中</div>
        <div class="filter-item" data-status="completed">已完成</div>
        <div class="filter-item" data-status="cancelled">已取消</div>
      </div>
      
      <div class="order-items">
        <!-- 订单1：待付款 -->
        <div class="order-card" data-status="pending">
          <div class="order-header">
            <div class="order-shop">时尚女装品牌店</div>
            <div class="order-status pending">待付款</div>
          </div>
          
          <div class="order-body">
            <div class="order-product">
              <img src="https://picsum.photos/id/64/200/200" alt="连衣裙" class="product-image">
              <div class="product-info">
                <div class="product-name">夏季碎花连衣裙 收腰显瘦</div>
                <div class="product-spec">颜色：粉色 | 尺码：M</div>
                <div class="product-quantity">x1</div>
              </div>
            </div>
          </div>
          
          <div class="order-summary">
            <div class="summary-row">共1件商品</div>
            <div class="summary-row summary-total">合计：¥259.00</div>
          </div>
          
          <div class="order-actions">
            <button class="order-btn btn-secondary">取消订单</button>
            <button class="order-btn btn-primary">立即付款</button>
          </div>
        </div>
        
        <!-- 订单2：配送中 -->
        <div class="order-card" data-status="shipping">
          <div class="order-header">
            <div class="order-shop">美妆护肤旗舰店</div>
            <div class="order-status shipping">配送中</div>
          </div>
          
          <div class="order-body">
            <div class="order-product">
              <img src="https://picsum.photos/id/94/200/200" alt="口红" class="product-image">
              <div class="product-info">
                <div class="product-name">丝绒哑光口红 持久不脱色</div>
                <div class="product-spec">色号：#520 心动红</div>
                <div class="product-quantity">x1</div>
              </div>
            </div>
          </div>
          
          <div class="order-summary">
            <div class="summary-row">共1件商品</div>
            <div class="summary-row summary-total">合计：¥129.00</div>
          </div>
          
          <div class="order-actions">
            <button class="order-btn btn-primary">查看物流</button>
          </div>
        </div>
      </div>
    </div>
    
    <!-- 风格3：生态绿订单页面 -->
    <div class="order-page" id="order3">
      <div class="page-header">
        <button class="back-btn"><i class="fa fa-arrow-left"></i></button>
        <h1 class="page-title">我的订单</h1>
        <div class="header-actions">
          <button class="header-btn"><i class="fa fa-search"></i></button>
        </div>
      </div>
      
      <div class="order-filter">
        <div class="filter-item active" data-status="all">全部</div>
        <div class="filter-item" data-status="pending">待付款</div>
        <div class="filter-item" data-status="shipping">配送中</div>
        <div class="filter-item" data-status="completed">已完成</div>
        <div class="filter-item" data-status="cancelled">已取消</div>
      </div>
      
      <div class="order-items">
        <!-- 订单1：待付款 -->
        <div class="order-card" data-status="pending">
          <div class="order-header">
            <div class="order-shop">有机食品专卖店</div>
            <div class="order-status pending">待付款</div>
          </div>
          
          <div class="order-body">
            <div class="order-product">
              <img src="https://picsum.photos/id/139/200/200" alt="有机大米" class="product-image">
              <div class="product-info">
                <div class="product-name">有机大米 5kg</div>
                <div class="product-spec">规格：真空包装</div>
                <div class="product-quantity">x2</div>
              </div>
            </div>
          </div>
          
          <div class="order-summary">
            <div class="summary-row">共1件商品</div>
            <div class="summary-row summary-total">合计：¥178.00</div>
          </div>
          
          <div class="order-actions">
            <button class="order-btn btn-secondary">取消订单</button>
            <button class="order-btn btn-primary">立即付款</button>
          </div>
        </div>
        
        <!-- 订单2：已完成 -->
        <div class="order-card" data-status="completed">
          <div class="order-header">
            <div class="order-shop">环保家居生活馆</div>
            <div class="order-status completed">已完成</div>
          </div>
          
          <div class="order-body">
            <div class="order-product">
              <img src="https://picsum.photos/id/188/200/200" alt="竹制餐具" class="product-image">
              <div class="product-info">
                <div class="product-name">天然竹制餐具套装</div>
                <div class="product-spec">包含：碗×2 筷×2 勺×2</div>
                <div class="product-quantity">x1</div>
              </div>
            </div>
          </div>
          
          <div class="order-summary">
            <div class="summary-row">共1件商品</div>
            <div class="summary-row summary-total">合计：¥69.00</div>
          </div>
          
          <div class="order-actions">
            <button class="order-btn btn-secondary">再次购买</button>
            <button class="order-btn btn-primary">查看详情</button>
          </div>
        </div>
      </div>
    </div>
    
    <!-- 风格4：温暖橙订单页面 -->
    <div class="order-page" id="order4">
      <div class="page-header">
        <button class="back-btn"><i class="fa fa-arrow-left"></i></button>
        <h1 class="page-title">我的订单</h1>
        <div class="header-actions">
          <button class="header-btn"><i class="fa fa-search"></i></button>
        </div>
      </div>
      
      <div class="order-filter">
        <div class="filter-item active" data-status="all">全部</div>
        <div class="filter-item" data-status="pending">待付款</div>
        <div class="filter-item" data-status="shipping">配送中</div>
        <div class="filter-item" data-status="completed">已完成</div>
        <div class="filter-item" data-status="cancelled">已取消</div>
      </div>
      
      <div class="order-items">
        <!-- 订单1：配送中 -->
        <div class="order-card" data-status="shipping">
          <div class="order-header">
            <div class="order-shop">进口食品专营店</div>
            <div class="order-status shipping">配送中</div>
          </div>
          
          <div class="order-body">
            <div class="order-product">
              <img src="https://picsum.photos/id/431/200/200" alt="巧克力" class="product-image">
              <div class="product-info">
                <div class="product-name">进口巧克力礼盒 200g</div>
                <div class="product-spec">口味：混合装</div>
                <div class="product-quantity">x1</div>
              </div>
            </div>
            
            <div class="order-product">
              <img src="https://picsum.photos/id/292/200/200" alt="咖啡豆" class="product-image">
              <div class="product-info">
                <div class="product-name">精选咖啡豆 500g</div>
                <div class="product-spec">产地：哥伦比亚</div>
                <div class="product-quantity">x1</div>
              </div>
            </div>
          </div>
          
          <div class="order-summary">
            <div class="summary-row">共2件商品</div>
            <div class="summary-row summary-total">合计：¥258.00</div>
          </div>
          
          <div class="order-actions">
            <button class="order-btn btn-primary">查看物流</button>
          </div>
        </div>
        
        <!-- 订单2：已取消 -->
        <div class="order-card" data-status="cancelled">
          <div class="order-header">
            <div class="order-shop">进口食品专营店</div>
            <div class="order-status cancelled">已取消</div>
          </div>
          
          <div class="order-body">
            <div class="order-product">
              <img src="https://picsum.photos/id/225/200/200" alt="红酒" class="product-image">
              <div class="product-info">
                <div class="product-name">进口红酒 750ml</div>
                <div class="product-spec">年份：2020</div>
                <div class="product-quantity">x2</div>
              </div>
            </div>
          </div>
          
          <div class="order-summary">
            <div class="summary-row">共1件商品</div>
            <div class="summary-row summary-total">合计：¥356.00</div>
          </div>
          
          <div class="order-actions">
            <button class="order-btn btn-primary">重新购买</button>
          </div>
        </div>
      </div>
    </div>
    
    <!-- 风格5：梦幻紫订单页面 -->
    <div class="order-page" id="order5">
      <div class="page-header">
        <button class="back-btn"><i class="fa fa-arrow-left"></i></button>
        <h1 class="page-title">我的订单</h1>
        <div class="header-actions">
          <button class="header-btn"><i class="fa fa-search"></i></button>
        </div>
      </div>
      
      <div class="order-filter">
        <div class="filter-item active" data-status="all">全部</div>
        <div class="filter-item" data-status="pending">待付款</div>
        <div class="filter-item" data-status="shipping">配送中</div>
        <div class="filter-item" data-status="completed">已完成</div>
        <div class="filter-item" data-status="cancelled">已取消</div>
      </div>
      
      <div class="order-items">
        <!-- 订单1：待付款 -->
        <div class="order-card" data-status="pending">
          <div class="order-header">
            <div class="order-shop">香水香氛馆</div>
            <div class="order-status pending">待付款</div>
          </div>
          
          <div class="order-body">
            <div class="order-product">
              <img src="https://picsum.photos/id/211/200/200" alt="香水" class="product-image">
              <div class="product-info">
                <div class="product-name">女士香水 50ml</div>
                <div class="product-spec">香型：花果香调</div>
                <div class="product-quantity">x1</div>
              </div>
            </div>
          </div>
          
          <div class="order-summary">
            <div class="summary-row">共1件商品</div>
            <div class="summary-row summary-total">合计：¥299.00</div>
          </div>
          
          <div class="order-actions">
            <button class="order-btn btn-secondary">取消订单</button>
            <button class="order-btn btn-primary">立即付款</button>
          </div>
        </div>
        
        <!-- 订单2：已完成 -->
        <div class="order-card" data-status="completed">
          <div class="order-header">
            <div class="order-shop">美妆护肤旗舰店</div>
            <div class="order-status completed">已完成</div>
          </div>
          
          <div class="order-body">
            <div class="order-product">
              <img src="https://picsum.photos/id/342/200/200" alt="精华液" class="product-image">
              <div class="product-info">
                <div class="product-name">焕颜精华液 30ml</div>
                <div class="product-spec">功效：保湿修护</div>
                <div class="product-quantity">x1</div>
              </div>
            </div>
          </div>
          
          <div class="order-summary">
            <div class="summary-row">共1件商品</div>
            <div class="summary-row summary-total">合计：¥359.00</div>
          </div>
          
          <div class="order-actions">
            <button class="order-btn btn-secondary">再次购买</button>
            <button class="order-btn btn-primary">查看详情</button>
          </div>
        </div>
      </div>
    </div>
    
    <!-- 风格6：商务黑订单页面 -->
    <div class="order-page" id="order6">
      <div class="page-header">
        <button class="back-btn"><i class="fa fa-arrow-left"></i></button>
        <h1 class="page-title">我的订单</h1>
        <div class="header-actions">
          <button class="header-btn"><i class="fa fa-search"></i></button>
        </div>
      </div>
      
      <div class="order-filter">
        <div class="filter-item active" data-status="all">全部</div>
        <div class="filter-item" data-status="pending">待付款</div>
        <div class="filter-item" data-status="shipping">配送中</div>
        <div class="filter-item" data-status="completed">已完成</div>
        <div class="filter-item" data-status="cancelled">已取消</div>
      </div>
      
      <div class="order-items">
        <!-- 订单1：待付款 -->
        <div class="order-card" data-status="pending">
          <div class="order-header">
            <div class="order-shop">商务办公设备店</div>
            <div class="order-status pending">待付款</div>
          </div>
          
          <div class="order-body">
            <div class="order-product">
              <img src="https://picsum.photos/id/160/200/200" alt="笔记本电脑" class="product-image">
              <div class="product-info">
                <div class="product-name">轻薄商务笔记本电脑</div>
                <div class="product-spec">配置：i7/16GB/512GB</div>
                <div class="product-quantity">x1</div>
              </div>
            </div>
          </div>
          
          <div class="order-summary">
            <div class="summary-row">共1件商品</div>
            <div class="summary-row summary-total">合计：¥7999.00</div>
          </div>
          
          <div class="order-actions">
            <button class="order-btn btn-secondary">取消订单</button>
            <button class="order-btn btn-primary">立即付款</button>
          </div>
        </div>
        
        <!-- 订单2：配送中 -->
        <div class="order-card" data-status="shipping">
          <div class="order-header">
            <div class="order-shop">商务礼品定制中心</div>
            <div class="order-status shipping">配送中</div>
          </div>
          
          <div class="order-body">
            <div class="order-product">
              <img src="https://picsum.photos/id/28/200/200" alt="钢笔" class="product-image">
              <div class="product-info">
                <div class="product-name">商务钢笔礼盒</div>
                <div class="product-spec">颜色：银色</div>
                <div class="product-quantity">x2</div>
              </div>
            </div>
          </div>
          
          <div class="order-summary">
            <div class="summary-row">共1件商品</div>
            <div class="summary-row summary-total">合计：¥598.00</div>
          </div>
          
          <div class="order-actions">
            <button class="order-btn btn-primary">查看物流</button>
          </div>
        </div>
        
        <!-- 订单3：已完成 -->
        <div class="order-card" data-status="completed">
          <div class="order-header">
            <div class="order-shop">商务办公设备店</div>
            <div class="order-status completed">已完成</div>
          </div>
          
          <div class="order-body">
            <div class="order-product">
              <img src="https://picsum.photos/id/119/200/200" alt="无线鼠标" class="product-image">
              <div class="product-info">
                <div class="product-name">无线蓝牙鼠标</div>
                <div class="product-spec">颜色：黑色</div>
                <div class="product-quantity">x1</div>
              </div>
            </div>
          </div>
          
          <div class="order-summary">
            <div class="summary-row">共1件商品</div>
            <div class="summary-row summary-total">合计：¥129.00</div>
          </div>
          
          <div class="order-actions">
            <button class="order-btn btn-secondary">再次购买</button>
            <button class="order-btn btn-primary">查看详情</button>
          </div>
        </div>
      </div>
    </div>
  </div>
  
  <!-- Bootstrap JS -->
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
  
  <script>
    // 当前状态
    let currentStyle = 1;
    
    // DOM元素
    const switcherToggle = document.querySelector('.switcher-toggle');
    const switcher = document.querySelector('.style-switcher');
    const switcherClose = document.querySelector('.switcher-close');
    const switcherOptions = document.querySelectorAll('.switcher-option');
    const orderPages = {
      1: document.getElementById('order1'),
      2: document.getElementById('order2'),
      3: document.getElementById('order3'),
      4: document.getElementById('order4'),
      5: document.getElementById('order5'),
      6: document.getElementById('order6')
    };
    const bodyElement = document.body;
    const backButtons = document.querySelectorAll('.back-btn');
    const filterItems = document.querySelectorAll('.filter-item');
    
    // 初始化
    function init() {
      // 初始化筛选功能
      initFilters();
      
      // 初始化订单按钮
      initOrderButtons();
      
      // 切换器控制
      switcherToggle.addEventListener('click', toggleSwitcher);
      switcherClose.addEventListener('click', toggleSwitcher);
      
      // 切换样式
      switcherOptions.forEach(option => {
        option.addEventListener('click', function() {
          const style = parseInt(this.getAttribute('data-style'));
          switchStyle(style);
          toggleSwitcher();
        });
      });
      
      // 键盘导航切换样式
      document.addEventListener('keydown', function(e) {
        if (e.key === 'ArrowLeft') {
          let prev = currentStyle - 1;
          if (prev < 1) prev = 6;
          switchStyle(prev);
        } else if (e.key === 'ArrowRight') {
          let next = currentStyle + 1;
          if (next > 6) next = 1;
          switchStyle(next);
        }
      });
      
      // 返回按钮
      backButtons.forEach(btn => {
        btn.addEventListener('click', function() {
          // 返回上一页
          history.back();
        });
      });
    }
    
    // 初始化筛选功能
    function initFilters() {
      // 为每个筛选项添加点击事件
      filterItems.forEach(item => {
        item.addEventListener('click', function() {
          const status = this.getAttribute('data-status');
          const page = this.closest('.order-page');
          
          // 更新筛选项的激活状态
          page.querySelectorAll('.filter-item').forEach(filter => {
            filter.classList.remove('active');
          });
          this.classList.add('active');
          
          // 筛选订单
          filterOrders(page, status);
        });
      });
    }
    
    // 筛选订单
    function filterOrders(page, status) {
      const orders = page.querySelectorAll('.order-card');
      
      orders.forEach(order => {
        if (status === 'all' || order.getAttribute('data-status') === status) {
          order.style.display = 'block';
          order.style.opacity = '1';
        } else {
          order.style.opacity = '0';
          setTimeout(() => {
            order.style.display = 'none';
          }, 300);
        }
      });
      
      // 检查是否有显示的订单
      const visibleOrders = page.querySelectorAll('.order-card[style*="display: block"]');
      const orderItems = page.querySelector('.order-items');
      
      // 清除之前的空状态
      const existingEmpty = orderItems.querySelector('.empty-orders');
      if (existingEmpty) {
        existingEmpty.remove();
      }
      
      // 如果没有可见订单，显示空状态
      if (visibleOrders.length === 0) {
        const emptyState = document.createElement('div');
        emptyState.className = 'empty-orders';
        
        let emptyText = '没有找到订单';
        if (status === 'pending') emptyText = '没有待付款的订单';
        else if (status === 'shipping') emptyText = '没有配送中的订单';
        else if (status === 'completed') emptyText = '没有已完成的订单';
        else if (status === 'cancelled') emptyText = '没有已取消的订单';
        
        emptyState.innerHTML = `
          <div class="empty-icon"><i class="fa fa-file-text-o"></i></div>
          <div class="empty-text">${emptyText}</div>
          <button class="empty-action">去逛逛</button>
        `;
        
        orderItems.appendChild(emptyState);
      }
    }
    
    // 初始化订单按钮
    function initOrderButtons() {
      const orderButtons = document.querySelectorAll('.order-btn');
      
      orderButtons.forEach(button => {
        button.addEventListener('click', function() {
          const actionText = this.textContent.trim();
          const orderCard = this.closest('.order-card');
          const orderStatus = orderCard.getAttribute('data-status');
          
          // 添加点击动画
          this.classList.add('scale-animation');
          setTimeout(() => {
            this.classList.remove('scale-animation');
          }, 300);
          
          // 根据按钮文本显示不同提示
          if (actionText === '立即付款') {
            alert('跳转到支付页面');
          } else if (actionText === '取消订单') {
            if (confirm('确定要取消订单吗？')) {
              orderCard.setAttribute('data-status', 'cancelled');
              orderCard.querySelector('.order-status').className = 'order-status cancelled';
              orderCard.querySelector('.order-status').textContent = '已取消';
              
              // 更新按钮
              const actions = orderCard.querySelector('.order-actions');
              actions.innerHTML = '<button class="order-btn btn-primary">重新购买</button>';
              
              // 重新初始化按钮事件
              initOrderButtons();
            }
          } else if (actionText === '查看物流') {
            alert('查看物流信息');
          } else if (actionText === '查看详情') {
            alert('查看订单详情');
          } else if (actionText === '再次购买' || actionText === '重新购买') {
            alert('添加商品到购物车');
          }
        });
      });
    }
    
    // 切换样式选择器显示/隐藏
    function toggleSwitcher() {
      switcher.classList.toggle('hidden');
    }
    
    // 关闭所有页面
    function closeAllPages() {
      Object.values(orderPages).forEach(page => {
        page.classList.remove('active');
      });
    }
    
    // 切换样式
    function switchStyle(style) {
      // 移除所有样式类
      bodyElement.classList.remove('style-1', 'style-2', 'style-3', 'style-4', 'style-5', 'style-6');
      
      // 添加当前样式类
      bodyElement.classList.add(`style-${style}`);
      
      // 更新当前样式
      currentStyle = style;
      
      // 更新切换器选中状态
      switcherOptions.forEach(option => {
        option.classList.remove('active');
        if (parseInt(option.getAttribute('data-style')) === style) {
          option.classList.add('active');
        }
      });
      
      // 显示对应页面
      closeAllPages();
      orderPages[style].classList.add('active');
    }
    
    // 启动
    init();
  </script>
</body>
</html>
